package cloud.daodao.storm.common.security.model.secret;

import cloud.daodao.storm.common.serialize.Serializer;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @author DaoDao
 */
@Schema(title = "AesSelect", description = "AES 查询")
@Data
public class AesSelect implements Serializer {

    @Schema(title = "id", description = "id", example = "1")
    @NotEmpty
    @Size(min = 18, max = 18)
    @Pattern(regexp = "^\\d+$")
    private String id;

}
